package com.zc;

import com.zc.pojo.User;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @description: ${description}
 * @author:
 * @create: ${YEAR}-${MONTH}-${DAY}
 **/
public class Main {
    public static void main(String[] args) {
//        ApplicationContext context = new ClassPathXmlApplicationContext("application.xml");
        ApplicationContext context = new ClassPathXmlApplicationContext("classpath:application.xml");
        User user = context.getBean("user", User.class);
        user.hello();
    }
}